package com.appkubes.mall.restful.application.goods.taobao.service.impl;

import com.appkubes.mall.core.entity.MallTaobaoGoodsClassify;
import com.appkubes.mall.core.service.impl.BaseMallTaobaoGoodsClassifyServiceImpl;
import com.appkubes.mall.restful.application.goods.taobao.service.TaobaoGoodsClassifyService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 商品分类
 * @Author: jeecg-boot
 * @Date: 2020-01-09
 * @Version: V1.0
 */
@Service
public class TaobaoGoodsClassifyServiceImpl extends BaseMallTaobaoGoodsClassifyServiceImpl implements TaobaoGoodsClassifyService {

    @Override
    public List<MallTaobaoGoodsClassify> classifyList() {
        MallTaobaoGoodsClassify query = new MallTaobaoGoodsClassify();
        query.setSuperiorCid(0);
        return this.selectListByEntity(query);
    }
}
